Re: [GENERAL] Startup Script - Mailing list pgsql-general

From Herouth Maoz
Subject Re: [GENERAL] Startup Script
Date
Msg-id l0313030bb42911d5880e@[147.233.159.109]
Whole thread Raw
In response to Startup Script  ("Duncan Kinder" <dckinder@mountain.net>)
List pgsql-general
At 20:13 +0200 on 12/10/1999, Duncan Kinder wrote:


> pg:2345:respawn:/bin/su - Postgres -c
> "/usr/local/pgsql/bin/postmaster -D/usr/local/pgsql/data >>
> /usr/local/pgsql/server.log 2>&1 </dev/null"
>
> I would like to know how to edit this language so that Postgres will
> automatically start with the -i flag.
>
> This would enable me to work with the very interesing looking kpsql add-on,
> which will not work unless I can set this -i flag.

Just add "-i" before the "-D" in the postmaster command.

pg:2345:respawn:/bin/su - Postgres -c
"/usr/local/pgsql/bin/postmaster -i -D/usr/local/pgsql/data >>
/usr/local/pgsql/server.log 2>&1 </dev/null"

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma



pgsql-general by date:

Previous
From: "Nikolay Mijaylov"
Date:
Subject: Indexes?!?!?
Next
From: Dan Parker
Date:
Subject: Re: [GENERAL] Startup Script